package com.zc.timedown.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@ApiModel(description = "添加每日一句请求参数")
public class DailyQuoteDto {
    @ApiModelProperty(value = "每日一句ID，添加不需上传")
    private Long id;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "出处（书籍、电影等）")
    private String source;

    @ApiModelProperty(value = "发布日期（用于区分哪天的内容）")
    private LocalDate publishDate;

    @ApiModelProperty(value = "是否公开显示（0否，1是）")
    private Integer isPublic;
}
